package server

import (
	"github.com/kataras/iris/v12"
	"gitlab-dingtalk/server/controller"
)
import "github.com/kataras/iris/v12/mvc"

func InitRouter(app *iris.Application) {

	mvc.Configure(app.Party("/gitlab"), func(m *mvc.Application) {
		m.Handle(new(controller.GitlabController))
	})
}
